Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit c100aefdd5ddd6f96284f811f9b6b8261879ebbd


Parents : d2f5ef1
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-03T20:54:08-06:00

feat(CallPage): integrate GlobalEmitter for telephone history and voicemail updates

Changes

1 files changed, 7 insertions(+), 0 deletions(-)


Diff

diff --git a/meshchatx/src/frontend/components/call/CallPage.vue b/meshchatx/src/frontend/components/call/CallPage.vue
index 499c46da..78585b22 100644
--- a/meshchatx/src/frontend/components/call/CallPage.vue
+++ b/meshchatx/src/frontend/components/call/CallPage.vue
@@ -1908,6 +1908,7 @@
<script>
import GlobalState from "../../js/GlobalState";
+import GlobalEmitter from "../../js/GlobalEmitter";
import Utils from "../../js/Utils";
import Compressor from "compressorjs";
import MaterialDesignIcon from "../MaterialDesignIcon.vue";
@@ -2095,6 +2096,9 @@ export default {
this.getRingtones();
this.getRingtoneStatus();
+ GlobalEmitter.on("telephone-history-updated", this.getHistory);
+ GlobalEmitter.on("telephone-history-updated", this.getVoicemails);
+
// poll for status
this.statusInterval = setInterval(() => {
this.getStatus();
@@ -2127,6 +2131,9 @@ export default {
}
},
beforeUnmount() {
+ GlobalEmitter.off("telephone-history-updated", this.getHistory);
+ GlobalEmitter.off("telephone-history-updated", this.getVoicemails);
+
if (this.statusInterval) clearInterval(this.statusInterval);
if (this.historyInterval) clearInterval(this.historyInterval);
if (this.elapsedTimeInterval) clearInterval(this.elapsedTimeInterval);


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────